home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.n / incr.n < prev    next >
Text File  |  1995-07-25  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      iiiinnnnccccrrrr((((nnnn))))                      TTTTccccllll (((( ))))                      iiiinnnnccccrrrr((((nnnn))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           incr - Increment the value of a variable
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           iiiinnnnccccrrrr _v_a_r_N_a_m_e ?_i_n_c_r_e_m_e_n_t?
  15.      _________________________________________________________________
  16.  
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           Increments the value stored in the variable  whose  name  is
  20.           _v_a_r_N_a_m_e.   The value of the variable must be an integer.  If
  21.           _i_n_c_r_e_m_e_n_t is supplied then  its  value  (which  must  be  an
  22.           integer)   is  added  to  the  value  of  variable  _v_a_r_N_a_m_e;
  23.           otherwise 1 is added to _v_a_r_N_a_m_e.  The new value is stored as
  24.           a  decimal  string  in variable _v_a_r_N_a_m_e and also returned as
  25.           result.
  26.  
  27.  
  28.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  29.           add, increment, variable, value
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/17/95)
  64.  
  65.  
  66.  
  67.